package com.bjpowernode.boss.enums;
//错误信息
public enum RespCode {
    OK(1000,"请求成功"),
    FALL(1001,"请求失败,请稍后重试"),
    LOGIN_NAME_PWD_ERROR(1002,"用户名或密码错误"),
    LOGIN_INTERNVAL_ERROR(1003,"登陆内部异常"),
    REQUEST_PARAM_ERROR(1004,"请求参数错误");

    private Integer number;
    private String msg;

    RespCode(Integer number, String msg) {
        this.number = number;
        this.msg = msg;
    }

    public Integer getNumber() {
        return number;
    }

    public String getMsg() {
        return msg;
    }
}
